<?php 
// wcf imports
require_once(WCF_DIR.'lib/page/AbstractPage.class.php');

/**
 * @svn			$Id: ChristmasCalendarPage.class.php 577 2009-11-22 15:31:56Z TobiasH87 $
 * @package		com.woltlab.community.page.christmascalendar
 */
 
class ChristmasCalendarPage extends AbstractPage {
	// system
	public $templateName = 'christmascalendar'; 

	public function assignVariables() {
		parent::assignVariables();
              
		WCF::getTPL()->assign(array('allowSpidersToIndexThisPage' => true)); 
	}

	/**
	 * @see Page::show()
	 */
	public function show() {
		// set active menu item
		require_once(WCF_DIR.'lib/page/util/menu/PageMenu.class.php');
		PageMenu::setActiveMenuItem('wcf.header.menu.christmascalendar'); 
		
		// check permission
		WCF::getUser()->checkPermission('user.managepages.christmascalendar');

		parent::show();
	}
 
} 
 
?>